Reduce optimisaiton to -O1 forky-staging archive/raspbian/2.50.4-1+rpi2 raspbian/2.50.4-1+rpi2
authorPeter Michael Green <plugwash@raspbian.org>
Fri, 6 Feb 2026 05:09:36 +0000 (05:09 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 6 Feb 2026 05:09:36 +0000 (05:09 +0000)
debian/changelog
debian/rules

index 5897e189a0cea81439386f1d4207ad2c72b3abe5..9b7cc9527d065c1d3e9fa684e1ab878d6c030e21 100644 (file)
@@ -3,6 +3,7 @@ webkit2gtk (2.50.4-1+rpi2) forky-staging; urgency=medium
   * Non-maintainer upload.
   * Really build with gcc.
   * Disable debug information completely.
+  * Reduce optimisation to -O1.
 
  -- Peter Michael Green <plugwash@raspbian.org>  Thu, 05 Feb 2026 01:55:33 +0000
 
index ea8589ee9ef10f61c1fdd8769f4761b93ff7433d..e0c9d1777c05bc53a7fc25d33037a391eb280594 100755 (executable)
@@ -71,6 +71,9 @@ endif
 CFLAGS := $(CFLAGS:-g=)
 CXXFLAGS := $(CXXFLAGS:-g=)
 
+CFLAGS := $(CFLAGS:-O2=-O1)
+CXXFLAGS := $(CXXFLAGS:-O2=-O1)
+
 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949621
 LDFLAGS += -Wl,--reduce-memory-overheads